#ifndef SEND_MSG_HANDLE_H
#define SEND_MSG_HANDLE_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"

#include "LOG.h"
#include "../arch_os.h"
#include "../system_Config.h"
#include "../Product_Config.h"

#include "../send_handle/light_send_handle.h"

typedef struct 
{
    void(* handle)(u8 *,u16);
}SEND_SPI_MSG_HANDLE;

extern SEND_SPI_MSG_HANDLE send_spi1_msg_handle[LIGHT_TYPE]; //spi1发送处理函数
extern SEND_SPI_MSG_HANDLE send_spi2_msg_handle[LIGHT_TYPE]; //spi2发送处理函数

void send_spi1_msg(u8 *buf,u16 length);
void send_spi2_msg(u8 *buf,u16 length);


#endif